package org.nmgyjt.springboot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.nmgyjt.springboot.beans.admin.StatisticBean;
import org.nmgyjt.springboot.beans.vo.PageVo;
import org.nmgyjt.springboot.entity.ApiRes;
import org.nmgyjt.springboot.entity.area.Area;
import org.nmgyjt.springboot.entity.equipage.Equipage;
import org.nmgyjt.springboot.entity.rescueTeam.RescueTeam;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public interface RescueTeamService extends IService<RescueTeam> {
    RescueTeam getByDepId(String depId, Page<Equipage> page,String equipageName);

    Boolean deleteByDepId(String depId);

    PageVo<Equipage> getRescueTeamInfo(String id, Page<Equipage> page);

    RescueTeam findById(Long id);

    ApiRes insertOrUpdate(RescueTeam rescueTeam);

    Map<String,Object> statisticRescueTeam(StatisticBean statisticBean);

    ApiRes testSendSms();
    void snycZwwxByHeadPhone();
}
